Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pause and unpause functions to TREX Gateway #189

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

aliarbak
Copy link
Contributor

  • TREXGateway Enhancements:
    • New function pause: Pauses the TREX gateway contract. When paused, no one can deploy a new token.
    • New function unpause: Unpauses the TREX gateway contract.

@aliarbak aliarbak added the enhancement New feature or request label Feb 13, 2024
@aliarbak aliarbak self-assigned this Feb 13, 2024
@@ -102,6 +102,12 @@ interface ITREXGateway {
/// event emitted whenever a TREX token has been deployed by the TREX factory through the use of the Gateway
event GatewaySuiteDeploymentProcessed(address indexed requester, address intendedOwner, uint256 feeApplied);

/// event emitted whenever the gateway is paused by an admin
event GatewayPaused(address _userAddress);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't use the names "Paused" and "Unpaused" because they are used by the token contract. Otherwise, sharing the same event names as token events would cause ambiguity and collision on the indexer side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants